package cn.edu.my.test.event.selfdefination;

/**
 * �¼�������
 * @author user
 *
 */
public class DoorListener1 implements DoorListener {

	public void doorEvent(DoorEvent event){
		if(event.getDoorState()!=null&&event.getDoorState().equals("open")){
			System.out.println("��1��");
		}
		else{
			System.out.println("��1�ر�");
		}
	}
}